package com.codeying.entity;
import java.util.Date;

import java.io.Serializable;
/**
* 租车订单实体类
*/
public class Rentorder  implements Serializable {

    /**
     * 主键
    */
    private int rid;
    
        /**
     * 用户
    */
    private int userid;
    
        private User useridFrn;
        /**
     * 汽车
    */
    private int cid;
    
        private Car cidFrn;
        /**
     * 订单时间
    */
    private Date createtime;
    
        /**
     * 单价
    */
    private Double price;
    
        /**
     * 租车天数
    */
    private Integer count;
    
        /**
     * 总价格
    */
    private Double tprice;
    
        /**
     * 租车状态
    */
    private String status;



    public int getId () {
        return rid;
    }
    public void setId (int rid ) {
        this.rid = rid;
    }
        public int getUserid () {
        return userid;
    }
    public void setUserid (int userid ) {
        this.userid = userid;
    }
        public User getUseridFrn(){
        return  useridFrn;
    }
    public void setUseridFrn (User useridFrn){
        this.useridFrn = useridFrn;
    }
        public int getCid () {
        return cid;
    }
    public void setCid (int cid ) {
        this.cid = cid;
    }
        public Car getCidFrn(){
        return  cidFrn;
    }
    public void setCidFrn (Car cidFrn){
        this.cidFrn = cidFrn;
    }
        public Date getCreatetime () {
        return createtime;
    }
    public void setCreatetime (Date createtime ) {
        this.createtime = createtime;
    }
        public Double getPrice () {
        return price;
    }
    public void setPrice (Double price ) {
        this.price = price;
    }
        public Integer getCount () {
        return count;
    }
    public void setCount (Integer count ) {
        this.count = count;
    }
        public Double getTprice () {
        return tprice;
    }
    public void setTprice (Double tprice ) {
        this.tprice = tprice;
    }
        public String getStatus () {
        return status;
    }
    public void setStatus (String status ) {
        this.status = status;
    }
    

}

